package com.wys.proxydemo.cglib;

import com.wys.proxydemo.common.Person;
import com.wys.proxydemo.common.Son;

/**
 * @author godShan
 * @Description:
 * @date 2019/5/6 13:37
 */
public class Test {

    public static void main(String[] args) {
        Person person = (Person) new CglibProxy().getInstance(new Son());
        System.out.println(person.eat("火锅"));
    }

}
